package com.ruoyi.other.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.List;

/**
 * 城市管理对象 t_city_config
 *
 * @author ruoyi
 * @date 2025-04-16
 */
@Data
public class CityConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 上级ID
     */
    private Long partnerId;

    /**
     * 城市名称
     */
    @Excel(name = "城市名称")
    private String cityName;

    /**
     * 逻辑删除（0=未删除，1=已删除）
     */
    private Integer isDelete;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<CityConfig> children;
}
